public class Test1 {
    public static void main(String[] args) {
        int[] nums ={0,1,2,3,4,5,6};
        int left = 0;
        int n = nums.length;
        int right = n - 1;
        left++;
        right--;

        System.out.println(nums[left + 1]);
        System.out.println("============");

        System.out.println(nums[++left]);
    }
}
